#define FILTERDIM 5
#define FILTERSIZE 25
#define TILEWIDTH 16
#define RADIUS 2
#define HOSTS 4
#define MASTER      0
#define WORKER_1    1
#define WORKER_2    2
#define WORKER_3    3
#define WORKER_4    4

#define W_1 'a'
#define W_2 'g'
#define W_3 'm'
#define W_3 's'

typedef unsigned char uchar;

struct PPMstructure {
  char type[2];
  int width;
  int height;
  int maxVal;
  uchar *r;
  uchar *g;
  uchar *b;
  int *k;
};

typedef struct PPMstructure PPMImage;